<if condition="$list eq null">
<h4 style="text-align:center">该客户没有添加基本资料，<span class="label label-primary">点击添加</span></h4>
<else />
<table class="table table-bordered customer-info" style="margin-bottom:0px">
	<tr>
		<td>公司名称</td><td><input type="text" class="form-control" name="company" value="{$list.company}"/></td>
		<td>男</td><td><input type="radio" style="margin: auto;" name="gender" value="1" id="man" class="form-control" <if condition="$list.gender eq '1'">checked<else /></if> /></td>
		<td>女</td><td><input type="radio" name="gender" style="margin: auto;" value="0" id="woman" class="form-control" <if condition="$list.gender eq '0'">checked<else /></if> /></td>
	</tr>
	<tr><td>公司地址</td><td colspan="5"><input type="text" class="form-control" name="company_address" value="{$list.company_address}"/></td></tr>
	<tr><td>部门</td><td colspan="5"><input type="text" class="form-control" name="department" value="{$list.department}"/></td></tr>
	<tr><td>手机</td><td colspan="5"><input type="text" class="form-control" name="mobile" value="{$list.mobile}"/></td></tr>
	<tr><td>QQ</td><td colspan="5"><input type="text" class="form-control" name="qq" value="{$list.qq}"/></td></tr>
	<tr><td>邮箱</td><td colspan="5"><input type="text" class="form-control" name="email" value="{$list.email}"/></td></tr>
	<tr><td>备注</td><td colspan="5"><textarea name="remark" class="form-control">{$list.remark}</textarea></td></tr>
</table>
<script>
	$(".customer-info input,.customer-info textarea").attr("disabled",true);
</script>
</if>
